#define _CRT_SECURE_NO_WARNINGS 2
//
//#include<stdio.h>
//
//void think(int n) {
//	int arr1[n] ;
//}
//
//int main() {
//	int arr[10] = { 0 };
//	think(10);
//	return 0;
//}


#include<stdio.h>
#include<stdlib.h>

void swap(int* pa1, int* pb1) {
    int tmp = *pa1;
    *pa1 = *pb1;
    *pb1 = tmp;
}

int main() {
    int a = 1;
    int b = 2;
    int* pa = &a;
    int* pb = &b;
    swap(pa, pb);
    return 0;
}